package org.jsola.hr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.dto.BaseDTO;

import javax.validation.constraints.NotNull;
import java.util.Map;

/**
 * @author JanusMix
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "修改【员工动态表单字段】的参数")
@Data
public class UpdateEmpFieldDTO extends BaseDTO {

    private static final long serialVersionUID = -5204862237921021296L;

    @ApiModelProperty(notes = "员工id")
    @NotNull
    private String empInfoId;

    @ApiModelProperty(notes = "公司id")
    @NotNull
    private String companyId;

    @ApiModelProperty(notes = "模块编码")
    @NotNull
    private String moduleCode;

    @ApiModelProperty(notes = "表单数据")
    private Map<String, String> data;


}
